﻿<UserControl xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"  x:Class="SL4_NAV_ProjectiCON.Operation"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:m="clr-namespace:Microsoft.Maps.MapControl;assembly=Microsoft.Maps.MapControl" 
    xmlns:transform="clr-namespace:TransformInteraction;assembly=TransformInteraction"
    xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows"
    mc:Ignorable="d" d:DesignWidth="959" d:DesignHeight="568" 
    xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
    xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"
    xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data">


    <UserControl.Resources>

        <Style x:Key="customInteractionStyle" TargetType="transform:TransformInteractionControl">
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="transform:TransformInteractionControl">
                        <Grid RenderTransformOrigin="0.5,0.5">
                            <Grid.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform x:Name="PART_Scale"/>
                                    <RotateTransform x:Name="PART_Rotation" />
                                    <TranslateTransform x:Name="PART_Translation" />
                                </TransformGroup>
                            </Grid.RenderTransform>

                            <vsm:VisualStateManager.VisualStateGroups>
                                <vsm:VisualStateGroup x:Name="CommonStates">
                                    <vsm:VisualStateGroup.Transitions>
                                        <vsm:VisualTransition GeneratedDuration="0:0:0.2" To="MouseOver"/>
                                        <vsm:VisualTransition GeneratedDuration="00:00:00.2000000"/>
                                    </vsm:VisualStateGroup.Transitions>
                                    <vsm:VisualState x:Name="Normal">
                                        <Storyboard>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="controlContainer" Storyboard.TargetProperty="(UIElement.Opacity)">
                                                <SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="0"/>
                                            </DoubleAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </vsm:VisualState>
                                    <vsm:VisualState x:Name="MouseOver">
                                        <Storyboard>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="controlContainer" Storyboard.TargetProperty="(UIElement.Opacity)" Duration="00:00:00.0010000">
                                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.5"/>
                                            </DoubleAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </vsm:VisualState>
                                    <vsm:VisualState x:Name="Pressed">
                                        <Storyboard>
                                            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="controlContainer" Storyboard.TargetProperty="(UIElement.Opacity)" Duration="00:00:00.0010000">
                                                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="0.5"/>
                                            </DoubleAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </vsm:VisualState>
                                </vsm:VisualStateGroup>
                            </vsm:VisualStateManager.VisualStateGroups>

                            <ContentPresenter Grid.Column="0" Grid.Row="0"   Grid.RowSpan="3"/>

                            <Grid x:Name="controlContainer" Opacity="0">

                                <Grid x:Name="PART_TranslateControls" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Margin="-5,-5,-5,-5">
                                    <Rectangle Fill="#FFEEEEEE" Stroke="Gray" RadiusX="3" RadiusY="3" Cursor="Hand" Height="15" VerticalAlignment="Top" HorizontalAlignment="Stretch" Margin="0,-10,0,0"/>
                                    <Rectangle Fill="#FFEEEEEE" Stroke="Gray" RadiusX="3" RadiusY="3" Cursor="Hand" Height="15" VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Margin="0,0,0,-10"/>
                                    <Rectangle Fill="#FFEEEEEE" Stroke="Gray" RadiusX="3" RadiusY="3" Cursor="Hand" Width="15" VerticalAlignment="Stretch" HorizontalAlignment="Right" Margin="0,0,-10,0"/>
                                    <Rectangle Fill="#FFEEEEEE" Stroke="Gray" RadiusX="3" RadiusY="3" Cursor="Hand" Width="15" VerticalAlignment="Stretch" HorizontalAlignment="Left" Margin="-10,0,0,0"/>
                                </Grid>
                                <Grid x:Name="PART_ClickControls" Width="50" Height="50" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="-10,-10,0,0">
                                    <Rectangle Fill="Red" Stroke="Black" Cursor="Arrow" RadiusX="3" RadiusY="3"/>
                                </Grid>
                                <Grid x:Name="PART_RotateControls"  HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                                    <Rectangle Fill="DimGray" Stroke="Black" RadiusX="3" RadiusY="3" Cursor="Hand" Width="20" Height="20" VerticalAlignment="Top" HorizontalAlignment="Right" Margin="0,-10,-10,0"/>
                                    <Rectangle Fill="DimGray" Stroke="Black" RadiusX="3" RadiusY="3" Cursor="Hand" Width="20" Height="20" VerticalAlignment="Bottom" HorizontalAlignment="Right" Margin="0,0,-10,-10"/>
                                    <Rectangle Fill="DimGray" Stroke="Black" RadiusX="3" RadiusY="3" Cursor="Hand" Width="20" Height="20" VerticalAlignment="Bottom" HorizontalAlignment="Left" Margin="-10,0,0,-10"/>
                                </Grid>
                                <Grid x:Name="PART_ScaleControls"  HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
                                    <Rectangle Fill="LightGray" Stroke="DimGray" RadiusX="3" RadiusY="3" Cursor="SizeWE" Width="20" Height="20" VerticalAlignment="Top" HorizontalAlignment="Right"/>
                                    <Rectangle Fill="LightGray" Stroke="DimGray" RadiusX="3" RadiusY="3" Cursor="SizeWE" Width="20" Height="20" VerticalAlignment="Bottom" HorizontalAlignment="Right"/>
                                    <Rectangle Fill="LightGray" Stroke="DimGray" RadiusX="3" RadiusY="3" Cursor="SizeWE" Width="20" Height="20" VerticalAlignment="Bottom" HorizontalAlignment="Left"/>
                                </Grid>
                            </Grid>
                        </Grid>
                    </ControlTemplate>


                </Setter.Value>
            </Setter>
        </Style>


    </UserControl.Resources>
    
    <Grid x:Name="LayoutRoot" ShowGridLines="False" Width="946" Height="600" MaxHeight="1500" MaxWidth="1500" Background="#FF42C6DE">


      
        
    <!-- VERSION 2 _ICON SAMPLE STARTS HERE-->
        <!--<ScrollViewer Grid.Row="5"  Margin="0,4,53,-6"  HorizontalScrollBarVisibility="Auto">-->
        <Grid HorizontalAlignment="Center" VerticalAlignment="Center"  Margin="3,16,121,-3" Width="937" IsHitTestVisible="False" Height="587">
               
            <!-- LOCATION  MAP - D4 GROUND -->
            

            <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="85,36,20,216" Style="{StaticResource customInteractionStyle}" >
                <Button x:Name="D4" Content="D4" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - RIGHT GROUND -->
            
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,36,12,0" Style="{StaticResource customInteractionStyle}" VerticalAlignment="Top" HorizontalAlignment="Right"   >
                <Button x:Name="RG1N" Content="RG1N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="93,165,0,402" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left"  >
                <Button x:Name="RG2N" Content="RG2N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="48,36,81,216" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="RG3N" Content="RG3N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="46,36,31,216" Style="{StaticResource customInteractionStyle}" >
                <Button x:Name="RG4N" Content="RG4N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="92,36,344,216" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="RG5N" Content="RG5N" />
            </transform:TransformInteractionControl>
            
            <!-- LOCATION  MAP - F1 GROUND -->
            <transform:TransformInteractionControl Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,36,318,216" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right" Width="20" >
                <Button x:Name="F1G" Content="F1" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - DOOR BOTTOM -->
            <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick" Margin="85,0,20,168" Style="{StaticResource customInteractionStyle}" VerticalAlignment="Bottom" >
                <Button x:Name="DB4N" Content="DB4N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - RIGHT BOTTOM -->
            <StackPanel Height="107" HorizontalAlignment="Left" Margin="205,408,0,0" Name="stackPanel1" VerticalAlignment="Top" Width="299" Background="#FF3CBA93" >
                <Grid>
                <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Style="{StaticResource customInteractionStyle}">
                    <Button x:Name="DB2N" Content="DB2N" />
                </transform:TransformInteractionControl>
                <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick" Margin="13,0,246,206" Style="{StaticResource customInteractionStyle}" VerticalAlignment="Bottom"   >
                <Button x:Name="RB1N" Content="RB1N" />
                </transform:TransformInteractionControl>
                <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="78,26,181,206" Style="{StaticResource customInteractionStyle}"  >
                    <Button x:Name="RB2N" Content="RB2N">
                        <!--<Button.Template>
                        <ControlTemplate TargetType="Button">
                            <Border x:Name="Border" Background="Orange">
                                <ContentPresenter VerticalAlignment="Center" HorizontalAlignment="Center" />
                            </Border>
                        </ControlTemplate>
                    </Button.Template>-->
                    </Button>
                </transform:TransformInteractionControl>
                <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="185,2,0,230" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left">
                    <Button x:Name="RB3N" Content="RB3N" />
                </transform:TransformInteractionControl>
                <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="194,48,65,184" Style="{StaticResource customInteractionStyle}" >
                    <Button x:Name="RB4N" Content="RB4N" />
                </transform:TransformInteractionControl>
                <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="92,62,344,170" Style="{StaticResource customInteractionStyle}"  >
                    <Button x:Name="RB5N" Content="RB5N" />
                </transform:TransformInteractionControl>
                </Grid>
            </StackPanel> 
            <!-- LOCATION  MAP - FRONT BOTTOM-->
            <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="21,108,318,124" Style="{StaticResource customInteractionStyle}" >
                <Button x:Name="FB1N" Content="FB1N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - FRONT TOP-->
            <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="21,62,318,170" Style="{StaticResource customInteractionStyle}" >
                <Button x:Name="FT1N" Content="FT1N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - DOOR TOP -->
            <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick" Margin="85,0,20,124" Style="{StaticResource customInteractionStyle}" VerticalAlignment="Bottom" >
                <Button x:Name="DT4N" Content="DT4N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - RIGHT TOP-->
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="111,108,12,124" Style="{StaticResource customInteractionStyle}"   >
                <Button x:Name="RT1N" Content="RT1N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="29,108,14,124" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="RT2N" Content="RT2N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="48,108,81,124" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="RT3N" Content="RT3N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="46,108,31,124" Style="{StaticResource customInteractionStyle}" >
                <Button x:Name="RT4N" Content="RT4N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="92,108,344,124" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="RT5N" Content="RT5N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - D4 HEIGHT -->
            <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="85,158,20,94" Style="{StaticResource customInteractionStyle}" >
                <Button x:Name="D4H" Content="D4" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - RIGHT - HEIGHT-->
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="111,158,12,94" Style="{StaticResource customInteractionStyle}"   >
                <Button x:Name="RH1N" Content="RH1N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="29,158,14,94" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="RH2N" Content="RH2N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="48,158,81,94" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="RH3N" Content="RH3N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="46,158,31,94" Style="{StaticResource customInteractionStyle}" >
                <Button x:Name="RH4N" Content="RH4N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="92,158,344,94" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="RH5N" Content="RH5N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - F1 HEIGHT -->
            <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,158,318,94" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right" >
                <Button x:Name="F1H" Content="F1" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - TOP RIGHT  -->
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick" Margin="111,230,12,2" Style="{StaticResource customInteractionStyle}"   >
                <Button x:Name="TR1N" Content="TR1N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="29,230,14,2" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="TR2N" Content="TR2N">
                    <!--<Button.Template>
                    <ControlTemplate TargetType="Button">
                        <Border x:Name="Border" Background="Orange">
                            <ContentPresenter VerticalAlignment="Center" HorizontalAlignment="Center" />
                        </Border>
                    </ControlTemplate>
                </Button.Template>-->
                </Button>
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="48,230,81,2" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="TR3N" Content="TR3N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="46,230,31,2" Style="{StaticResource customInteractionStyle}" >
                <Button x:Name="TR4N" Content="TR4N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="245,140,639,407" Style="{StaticResource customInteractionStyle}"  ></transform:TransformInteractionControl>
            <!-- LOCATION  MAP - TOP LEFT  -->
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="111,184,12,48" Style="{StaticResource customInteractionStyle}"   >
                <Button x:Name="TL1N" Content="TL1N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="29,184,14,48" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="TL2N" Content="TL2N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="48,184,81,48" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="TL3N" Content="TL3N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="46,184,31,48" Style="{StaticResource customInteractionStyle}" >
                <Button x:Name="TL4N" Content="TL4N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="92,184,344,48" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="TL5N" Content="TL5N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP -  DOOR TOP  D4 DOOR-->
            <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick_Test2" Margin="177,4,0,466" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left" >
                <Button x:Name="D4D" Content="D4" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP -  DOOR TOP  DH3N-->
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick_Test2" Margin="203,4,0,466" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left"  >
                <Button x:Name="DH3N" Content="DH3N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP -  DOOR TOP  DH3N-->
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick_Test2" Margin="390,7,507,560" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="DH2N" Content="DH2N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - D1 HEIGHT-->
            <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,4,19,466" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right"  >
                <Button x:Name="D1" Content="D1" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - LEFT - HEIGHT-->
            <transform:TransformInteractionControl Height="20" Click="OnButtonTransformInteractionControlClick" Margin="111,4,0,466" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left" Width="40"    >
                <Button x:Name="LH1N" Content="LH1N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="111,28,0,539" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left"   >
                <Button x:Name="LH2N" Content="LH2N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="343,17,554,550" Style="{StaticResource customInteractionStyle}"   >
                <Button x:Name="LH3N" Content="LH3N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="119,7,0,560" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left"  >
                <Button x:Name="LH4N" Content="LH4N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="93,4,343,466" Style="{StaticResource customInteractionStyle}"   >
                <Button x:Name="LH5N" Content="LH5N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - FRONT- GROUND -->
            <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,4,319,0" Style="{StaticResource customInteractionStyle}" VerticalAlignment="Top" HorizontalAlignment="Right"  >
                <Button x:Name="F4H" Content="F4" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - FRONT- GROUND -->
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,4,270,0" Style="{StaticResource customInteractionStyle}" VerticalAlignment="Top" HorizontalAlignment="Right"  >
                <Button x:Name="FH3N" Content="FH3N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - FRONT- GROUND -->
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,4,224,0" Style="{StaticResource customInteractionStyle}" VerticalAlignment="Top" HorizontalAlignment="Right"  >
                <Button x:Name="FH2N" Content="FH2N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - FRONT- GROUND F1 F1TN-->
            <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,4,198,0" Style="{StaticResource customInteractionStyle}" VerticalAlignment="Top" HorizontalAlignment="Right"  >
                <Button x:Name="F1TN" Content="F1" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP -  DOOR TOP  DT4ND-->
            <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="176,85,13,365" Style="{StaticResource customInteractionStyle}" >
                <Button x:Name="DT4ND" Content="DT4N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP -  DOOR TOP  DT4N-->
            <transform:TransformInteractionControl Height="40" Margin="176,0,13,418" Style="{StaticResource customInteractionStyle}" VerticalAlignment="Bottom" Width="20" >
                <Button Content="DT4N" Name="button1" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP -  DOOR TOP  DT3N-->
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="203,32,91,418" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="DT3N" Content="DT3N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP -  DOOR TOP  DT2N-->
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="40,32,45,418" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="DT2N" Content="DT2N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP -  DOOR TOP LEFT -->
            <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="86,32,19,418" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="DT1N" Content="DT1N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP -  LEFT TOP  -->
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="30,32,13,418" Style="{StaticResource customInteractionStyle}"   >
                <Button x:Name="LT2N" Content="LT2N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="0,32,80,418" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right"   >
                <Button x:Name="LT3N" Content="LT3N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="464,18,433,529" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="LT4N" Content="LT4N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="93,32,343,418" Style="{StaticResource customInteractionStyle}"   >
                <Button x:Name="LT5N" Content="LT5N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP -  FRONT TOP FT4N -->
            <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="276,28,641,0" Style="{StaticResource customInteractionStyle}" VerticalAlignment="Top"  >
                <Button x:Name="FT4N" Content="FT4N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP -  FRONT TOP FT3N -->
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="49,32,270,418" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="FT3N" Content="FT3N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP -  FRONT TOP FT2N -->
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="95,32,224,418" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="FT2N" Content="FT2N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP -  FRONT TOP FT1N -->
            <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="141,32,198,418" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="FT1NF" Content="FT1N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP -  DOOR TOP  DT4ND-->
            <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="177,78,0,372" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left" Angle="0" >
                <Button x:Name="DB4ND" Content="DB4N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP -  DOOR BOTTOM  DB3N-->
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="0,78,91,372" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right"  >
                <Button x:Name="DB3N" Content="DB3N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP -  DOOR BOTTOM  DB2N-->
            <!-- LOCATION  MAP -  DOOR BOTTOM LEFT -->
            <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="86,78,19,372" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="DB1N" Content="DB1N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP -  LEFT BOTTOM  -->
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="112,78,11,372" Style="{StaticResource customInteractionStyle}"    >
                <Button x:Name="LB1N" Content="LB1N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="30,78,13,372" Style="{StaticResource customInteractionStyle}"   >
                <Button x:Name="LB2N" Content="LB2N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="49,78,80,372" Style="{StaticResource customInteractionStyle}"   >
                <Button x:Name="LB3N" Content="LB3N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="47,78,30,372" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="LB4N" Content="LB4N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="93,78,343,372" Style="{StaticResource customInteractionStyle}"   >
                <Button x:Name="LB5N" Content="LB5N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP -  FRONT TOP FB3N -->
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="47,78,272,372" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="FB3N" Content="FB3N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP -  FRONT TOP FB2N -->
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="93,78,226,372" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="FB2N" Content="FB2N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP -  FRONT TOP FT1N -->
            <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="139,78,200,372" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="FB1NF" Content="FB1N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP -  FRONT TOP  -->
            <transform:TransformInteractionControl Width="20" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="22,78,317,372" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="FB4N" Content="FB4N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - DOOR- D4DG -->
            <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,124,12,346" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right" >
                <Button x:Name="D4DG" Content="D4" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - DOOR- GROUND -->
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="203,124,0,346" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left"  >
                <Button x:Name="DG3N" Content="DG3N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - DOOR- GROUND -->
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,176,176,391" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right"  >
                <Button x:Name="DG2N" Content="DG2N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - DOOR- GROUND -->
            <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="86,124,19,346" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="D1G" Content="D1" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - LEFT - GROUND -->
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,124,11,346" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right"    >
                <Button x:Name="LG1N" Content="LG1N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,124,14,346" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right"   >
                <Button x:Name="LG2N" Content="LG2N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="49,124,80,346" Style="{StaticResource customInteractionStyle}"   >
                <Button x:Name="LG3N" Content="LG3N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="47,124,30,346" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="LG4N" Content="LG4N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,0,344,346" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right" VerticalAlignment="Bottom"   >
                <Button x:Name="LG5N" Content="LG5N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - FRONT- GROUND -->
            <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="22,124,317,346" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="F4G" Content="F4" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - FRONT- GROUND -->
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="0,124,273,346" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Right"  >
                <Button x:Name="FG3N" Content="FG3N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - FRONT- GROUND -->
            <transform:TransformInteractionControl Width="40" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="93,124,226,346" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="FG2N" Content="FG2N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - FRONT- GROUND F1 FRONUND -->
            <transform:TransformInteractionControl Width="20" Height="20" Click="OnButtonTransformInteractionControlClick" Margin="139,124,200,346" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="F1GN" Content="F1" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - BOTTOM  LEFT-->
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="111,150,0,300" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left"    >
                <Button x:Name="BL1N" Content="BL1N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="29,150,14,300" Style="{StaticResource customInteractionStyle}"   >
                <Button x:Name="BL2N" Content="BL2N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="48,150,81,300" Style="{StaticResource customInteractionStyle}"   >
                <Button x:Name="BL3N" Content="BL3N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="46,150,31,300" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="BL4N" Content="BL4N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="92,150,344,300" Style="{StaticResource customInteractionStyle}"   >
                <Button x:Name="BL5N" Content="BL5N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - BOTTOM  RIGHT-->
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="111,196,0,254" Style="{StaticResource customInteractionStyle}" HorizontalAlignment="Left"    >
                <Button x:Name="BR1N" Content="BR1N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="29,196,14,254" Style="{StaticResource customInteractionStyle}"   >
                <Button x:Name="BR2N" Content="BR2N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="48,196,81,254" Style="{StaticResource customInteractionStyle}"   >
                <Button x:Name="BR3N" Content="BR3N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="46,196,31,254" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="BRL4N" Content="BR4N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="40" Click="OnButtonTransformInteractionControlClick_Test2" Margin="92,196,344,254" Style="{StaticResource customInteractionStyle}"   >
                <Button x:Name="BR5N" Content="BR5N" />
            </transform:TransformInteractionControl>
            <!-- LOCATION  MAP - UNDERSTRUCTURE-->
            <transform:TransformInteractionControl Width="40" Height="80" Click="OnButtonTransformInteractionControlClick_Test2" Margin="673,311,224,196" Style="{StaticResource customInteractionStyle}"    ></transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="80" Click="OnButtonTransformInteractionControlClick_Test2" Margin="738,370,159,137" Style="{StaticResource customInteractionStyle}"   >
                <Button x:Name="UX2N" Content="UX2N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="80" Click="OnButtonTransformInteractionControlClick_Test2" Margin="624,226,273,282" Style="{StaticResource customInteractionStyle}"   >
                <Button x:Name="UX3N" Content="UX3N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="80" Click="OnButtonTransformInteractionControlClick_Test2" Margin="676,248,221,259" Style="{StaticResource customInteractionStyle}"  >
                <Button x:Name="UX4N" Content="UX4N" />
            </transform:TransformInteractionControl>
            <transform:TransformInteractionControl Width="40" Height="80" Click="OnButtonTransformInteractionControlClick_Test2" Margin="174,279,723,228" Style="{StaticResource customInteractionStyle}"   ></transform:TransformInteractionControl>
            <!-- TEXT BLOCK ZONE -->
            <TextBlock Height="82" HorizontalAlignment="Left" Margin="164,190,0,0" Name="textBlock1" Text="TOP" VerticalAlignment="Top" Width="14" TextWrapping="Wrap" FontWeight="Bold" FontStretch="ExtraExpanded" TextAlignment="Center" FontSize="12" />
            <TextBlock FontSize="12" FontStretch="ExtraExpanded" FontWeight="Bold" Height="21" HorizontalAlignment="Left" Margin="29,7,0,0" Name="textBlock2" Text="RIGHT" TextAlignment="Center" TextWrapping="Wrap" VerticalAlignment="Top" Width="78"    />
            <TextBlock FontSize="11" FontStretch="ExtraExpanded" FontWeight="Bold" Height="101" HorizontalAlignment="Left" Margin="158,160,0,0" Name="textBlock3" Text="BOTTOM" TextAlignment="Center" TextWrapping="Wrap" VerticalAlignment="Top" Width="14"  />
            <TextBlock FontSize="12" FontStretch="ExtraExpanded" FontWeight="Bold" Height="87" HorizontalAlignment="Left" Margin="158,282,0,0" Name="textBlock4" Text="UNDER" TextAlignment="Center" TextWrapping="Wrap" VerticalAlignment="Top" Width="14"  />
            <TextBlock Height="16" HorizontalAlignment="Left" Margin="203,253,0,0" Name="textBlock5" Text="DOOR" VerticalAlignment="Top" Width="89" TextAlignment="Center" FontWeight="Bold" FontSize="13"  />
            <TextBlock FontSize="13" FontWeight="Bold" Height="16" HorizontalAlignment="Left" Margin="46,253,0,0" Name="textBlock6" Text="FRONT" TextAlignment="Center" VerticalAlignment="Top" Width="89"  />
            <Button x:Name="LT1N" Content="LT1N" Margin="106,96,780,444"     />
            <TextBlock FontSize="12" FontStretch="ExtraExpanded" FontWeight="Bold" Height="19" HorizontalAlignment="Left" Margin="29,242,0,0" Name="textBlock7" Text="LEFT" TextAlignment="Center" TextWrapping="Wrap" VerticalAlignment="Top" Width="117"     />
            <Button x:Name="UX5N" Content="UX5N" Margin="79,330,818,177" />
            <Button x:Name="TR5N" Content="TR5N" Margin="203,342,694,205" />
            <Button x:Name="UX1N" Content="UX1N" Margin="661,356,236,151" />
            <!--<StackPanel Margin="0,5,49,185" Background="CornflowerBlue" Grid.RowSpan="2" IsHitTestVisible="False">
                    <TextBlock Height="19" Margin="0" Name="DamageReport" Text="Damage Report" Width="116" TextWrapping="Wrap" FontWeight="Bold" FontStretch="ExtraExpanded" TextAlignment="Center" FontSize="12" IsHitTestVisible="False" Foreground="Brown" />
                    <TextBlock Height="19" Margin="0" Name="Location" Text="Location" Width="116" TextWrapping="Wrap" FontWeight="Bold" FontStretch="ExtraExpanded" TextAlignment="Left" FontSize="10" IsHitTestVisible="False" />
                    <TextBlock Height="19" Margin="0" Name="Damage" Text="Damage" Width="116" TextWrapping="Wrap" FontWeight="Bold" FontStretch="ExtraExpanded" TextAlignment="Left" FontSize="10" IsHitTestVisible="False" />
                    <TextBlock Height="19" Margin="0" Name="Repair" Text="Repair" Width="116" TextWrapping="Wrap" FontWeight="Bold" FontStretch="ExtraExpanded" TextAlignment="Left" FontSize="10" IsHitTestVisible="False" />
                    <TextBlock Height="19" Margin="0" Name="CostType" Text="Cost Type" Width="116" TextWrapping="Wrap" FontWeight="Bold" FontStretch="ExtraExpanded" TextAlignment="Left" FontSize="10" IsHitTestVisible="False" />
                    <TextBlock Height="19" Margin="0" Name="PossibleRepairs" Text="Possible Repairs" Width="116" TextWrapping="Wrap" FontWeight="Bold" FontStretch="ExtraExpanded" TextAlignment="Left" FontSize="10" IsHitTestVisible="False" />
                    <TextBlock Height="33" Margin="0" Name="PossibleAdjacent" Text="Possible Adjacent Sides" Width="116" TextWrapping="Wrap" FontWeight="Bold" FontStretch="ExtraExpanded" TextAlignment="Left" FontSize="10" IsHitTestVisible="False" />
                    <TextBlock Height="19" Margin="0" Name="DamageImpact" Text="Damage Impact" Width="116" TextWrapping="Wrap" FontWeight="Bold" FontStretch="ExtraExpanded" TextAlignment="Left" FontSize="10" IsHitTestVisible="False" />
                    <TextBlock Height="19" Margin="0" Name="DuplicateRepair" Text="DuplicateRepair" Width="116" TextWrapping="Wrap" FontWeight="Bold" FontStretch="ExtraExpanded" TextAlignment="Left" FontSize="10" IsHitTestVisible="False" />
                    <Grid Margin="0">
                        
                    </Grid>
                    <Grid Margin="0">

                    </Grid>
                    <Grid Margin="0">

                    </Grid>
                </StackPanel>-->
            </Grid>
        <!--</ScrollViewer>--> 

        <!--<controls:GridSplitter   HorizontalAlignment="Stretch" Margin="0,24,0,-111" />-->
        <!-- VERSION 1 _BING MAP SAMPLE STARTS HERE-->
     
        <!--<Button Content="Load" Click="LoadButton_Click"  Margin="12,0,0,11" Width="42" HorizontalAlignment="Left" Height="20" VerticalAlignment="Bottom" IsTabStop="False" Grid.Row="3" IsHitTestVisible="True" Grid.RowSpan="2" />
        <Button Content="Clear" Grid.Row="3" Click="ClearButton_Click"   Margin="60,0,0,11" Width="42" HorizontalAlignment="Left" Height="20" IsTabStop="False" VerticalAlignment="Bottom" Grid.RowSpan="2" />-->

        <!--<m:Map  x:Name="MyMap" CredentialsProvider="Ak3MocFbmijHFnbIBG0dB2lqBf_RocQL2broM4wgpSSRVtlk_f28b46AvozbYnnK"
                Mode="Road" RenderTransformOrigin="0.42,0.557" Margin="0,0,438,0"
                LogoVisibility="Collapsed" >
            <m:MapLayer x:Name="PushPinLayer">
                <Canvas x:Name="ContentPopup" Visibility="Collapsed" Opacity="0.85" MouseEnter="ContentPopup_MouseEnter" MouseLeave="ContentPopup_MouseLeave">
                    <Rectangle x:Name="ContentPopupRectangle" Fill="White" Canvas.Left="0" Canvas.Top="0" Height="100" Width="300" RadiusX="20" RadiusY="20"/>
                    <StackPanel Canvas.Left="10" Canvas.Top="10">
                        <TextBlock x:Name="ContentPopupText"  FontSize="12" FontWeight="Bold" TextWrapping="Wrap" Width="250"></TextBlock>
                        
                    </StackPanel>
                </Canvas>
            </m:MapLayer>
           </m:Map>
        <data:DataGrid AutoGenerateColumns="False"  Height="205" HorizontalAlignment="Stretch" Margin="41,2,47,0" Name="dataGrid1" VerticalAlignment="Top" >
            <data:DataGrid.Columns>
                <data:DataGridTextColumn Header="Customer" Width="SizeToHeader" Binding="{Binding CustomerName}" />
                <data:DataGridTextColumn Header="Count" Width="SizeToHeader" Binding="{Binding CustomerId}" />
            </data:DataGrid.Columns>
        </data:DataGrid>-->
      </Grid>
</UserControl>
